﻿@model DeJC.DAL.Model.Product

@{
    ViewBag.Title = "Details";
    Layout="~/Views/Shared/_LayoutConfig.cshtml";
    
}

<h2>Details</h2>

<fieldset>
    <legend>Product</legend>

    <div class="display-label">NavBrand</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NavBrand.Name)
    </div>

    <div class="display-label">NavCategory</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NavCategory.Name)
    </div>

    <div class="display-label">NavUnit</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NavUnit.Name)
    </div>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">Deleted</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Deleted)
    </div>

    <div class="display-label">DeletedDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DeletedDate)
    </div>

    <div class="display-label">ImagePathSmall</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ImagePathSmall)
    </div>

    <div class="display-label">ImagePathMedium</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ImagePathMedium)
    </div>

    <div class="display-label">ImagePathLarge</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ImagePathLarge)
    </div>

    <div class="display-label">Size</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Size)
    </div>

    <div class="display-label">Price</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
